<?php require_once('Connections/MYCONN.php'); ?>
<?php
global $totals;


?>
<style type="text/css">
<!--
.style1 {
	font-size: medium;
	font-weight: bold;
}
-->
</style>

<table class="TAB-BOX-COINS" title="Activity Summary">
<tr><td colspan="2" class="Column-header">Activity Summary</td></tr>
<tr><td colspan="2" bgcolor="#333333" height="3px"></td>
</tr>
  <?php do { ?>
    <tr>
      <td><?php echo $row_ActSummary['Name']; ?></td>
      <td align="right"><?php echo ew_FormatNumber($row_ActSummary['Amount'],-1,0,-1,-2); ?><?php $totals=$totals+ $row_ActSummar    ?></td>
    </tr>
	<tr>
      <td>Total IPP Sales</td>
      <td align="right"><?php echo $IPPSaleAmt; ?></td>
    </tr>
    <tr>
      <td>X Reading</td>
      <td align="right"><?php echo $XReadingAmt; ?></td>
    </tr>
y['Amount'];?>
        <?php } while ($row_ActSummary = mysql_fetch_assoc($ActSummary)); ?>

<tr><td colspan="2" bgcolor="#333333" height="3px"></td>		
    <tr>
      <td><span class="style1">Totals : </span></td>
      <td align="right"><span class="style1"><?php echo $totals+$IPPSaleAmt+$XReadingAmt; ?></span></td>
    </tr>
</table>
		<?php mysql_free_result($ActSummary);?>